Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FacebookBridge] Prevent sending empty header #1239

Merged
merged 3 commits into from
Sep 7, 2019
Merged

[FacebookBridge] Prevent sending empty header #1239

merged 3 commits into from
Sep 7, 2019

Conversation

triatic
Copy link
Contributor

@triatic triatic commented Jul 26, 2019

When running in CLI mode, getEnv('HTTP_ACCEPT_LANGUAGE') returns false. In that case, don't send the Accept-Language header.

triatic added 3 commits July 26, 2019 19:25

Verified

This commit was signed with the committer’s verified signature.
BloodAxe Eugene Khvedchenya
When running in CLI mode, `getEnv('HTTP_ACCEPT_LANGUAGE')` returns `false`. In that case, don't send the `Accept-Language` header.
@teromene teromene merged commit 53fbd2a into RSS-Bridge:master Sep 7, 2019
infominer33 pushed a commit to web-work-tools/rss-bridge that referenced this pull request Apr 17, 2020
* [FacebookBridge] Prevent sending empty header

When running in CLI mode, `getEnv('HTTP_ACCEPT_LANGUAGE')` returns `false`. In that case, don't send the `Accept-Language` header.
@triatic triatic deleted the patch-5 branch April 21, 2020 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants